Fix the build
authorMatthias Clasen <mclasen@redhat.com>
Sun, 18 Feb 2018 23:14:18 +0000 (18:14 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 18 Feb 2018 23:14:18 +0000 (18:14 -0500)
modules/printbackends/file/gtkprintbackendfile.c
modules/printbackends/lpr/gtkprintbackendlpr.c

index 385154a352c66fbe00d91019685f9bdfc9862f89..b568e01395bb857627cc17706fb9ef405d5094b0 100644 (file)
@@ -47,8 +47,6 @@ typedef struct _GtkPrintBackendFileClass GtkPrintBackendFileClass;
 
 #define _STREAM_MAX_CHUNK_SIZE 8192
 
-static GType print_backend_file_type = 0;
-
 struct _GtkPrintBackendFileClass
 {
   GtkPrintBackendClass parent_class;
index d79592c7bc22b5c491094cae5091a165a58cc70c..f85b37ba445172649c6d665470211af8e6149511 100644 (file)
@@ -83,7 +83,7 @@ static void                 gtk_print_backend_lpr_print_stream    (GtkPrintBacke
                                                                   gpointer                 user_data,
                                                                   GDestroyNotify           dnotify);
 
-G_DEFINE_DYNAMIC_TYPE(GtkPrintBackendLpr, gtk_print_backend_lpr, GTK_TYPE_PRINT_BACKEND
+G_DEFINE_DYNAMIC_TYPE(GtkPrintBackendLpr, gtk_print_backend_lpr, GTK_TYPE_PRINT_BACKEND)
 
 void
 g_io_module_load (GIOModule *module)